home *** CD-ROM | disk | FTP | other *** search
/ L' Effet Pommier 3 / L'Effet Pommier - Volume 03.iso / Programmation / Alpha ƒ / Tcl / SystemCode / latexMenu.tcl < prev    next >
Text File  |  1996-01-20  |  15KB  |  821 lines

  1. #############################################################################
  2. #############################################################################
  3. #
  4. # latexMenu.tcl (called from latex.tcl)
  5. #
  6. # LaTeX menu definition and key bindings
  7. #
  8. #############################################################################
  9. #
  10. # Author:  Tom Scavo <trscavo@syr.edu>
  11. #
  12. #############################################################################
  13. #############################################################################
  14.  
  15. proc getLaTeXCommands {} {
  16.     set latexCommands {
  17.     
  18.         {<S/TTypeset}
  19.         {<S<I<O/TTypeset Selection}
  20.         
  21.         {menu -M TeX -n Goto -m -p LaTeXMenuItem {
  22.             "<U/SLaTeX"
  23.             "BibTeX"
  24.             "MakeIndex"
  25.             "(-"
  26.             {/cNext Tab Stop}
  27.             {<U/cPrev Tab Stop}
  28.             {<B/cnth Tab Stop╔}
  29.             "(-"
  30.             {Next Command}
  31.             {Prev Command}
  32.             {Next Command Select}
  33.             {Prev Command Select}
  34.             {Next Command Select With Args}
  35.             {Prev Command Select With Args}
  36.             "(-"
  37.             {Next Environment}
  38.             {Prev Environment}
  39.             {Next Environment Select}
  40.             {Prev Environment Select}
  41.             "(-"
  42.             {Next Section}
  43.             {Prev Section}
  44.             {Next Section Select}
  45.             {Prev Section Select}
  46.             {Next Subsection}
  47.             {Prev Subsection}
  48.             {Next Subsection Select}
  49.             {Prev Subsection Select}
  50.             }
  51.         }
  52.         
  53.         {menu -M TeX -n {LaTeX Utilities} -m -p LaTeXMenuItem {
  54.             {<U<O/TChoose Command╔}
  55.             "(-"
  56.             {<I/cInsert Literal Tab}
  57.             {Insert Tab Stop}
  58.             "(-"
  59.             {<O/cDelete Tab Stops}
  60.             {Delete Comments}
  61.             "(-"
  62.             {Convert Quotes}
  63.             {Convert Dollar Signs}
  64.             "(-"
  65.             {Remove Auxiliary Files}
  66.             "(-"
  67.             {Short LaTeX Menu}
  68.             }
  69.         }
  70.         
  71.         {(-}
  72.         
  73.         {menu -M TeX -n Documents -m -p LaTeXMenuItem {
  74.             "letter"
  75.             "article"
  76.             "report"
  77.             "book"
  78.             "slides"
  79.             "<B<I/Dgeneric╔"
  80.             "(-"
  81.             "options╔"
  82.             "packages╔"
  83.             "<B<I/Uusepackage"
  84.             "(-"
  85.             "filecontents╔"
  86.             }
  87.         }
  88.         
  89.         {menu -M TeX -n {Page Layout} -m -p LaTeXMenuItem {
  90.             "maketitle"
  91.             "(-"
  92.             "abstract"
  93.             "titlepage"
  94.             "(-"
  95.             "pagestyle╔"
  96.             "thispagestyle╔"
  97.             "pagenumbering╔"
  98.             "(-"
  99.             "twocolumn"
  100.             "onecolumn"
  101.             }
  102.         }
  103.         
  104.         {menu -M TeX -n Sectioning -m -p LaTeXMenuItem {
  105.             "part"
  106.             "chapter"
  107.             "section"
  108.             "subsection"
  109.             "subsubsection"
  110.             "paragraph"
  111.             "subparagraph"
  112.             "(-"
  113.             "appendix"
  114.             }
  115.         }
  116.         
  117.         {(-}
  118.  
  119.     }
  120.     return $latexCommands
  121. }
  122.  
  123. proc getTextSubmenus {} {
  124.     return {
  125.         {menu -M TeX -n {Text Style} -m -p LaTeXMenuItem {
  126.             "<S<B<I/Eemph"
  127.             "<S<U<B<I/Eem"
  128.             "<B<O/Uunderline"
  129.             "(-"
  130.             "<Supshape"
  131.             "<Stextup"
  132.             "<E<S<B<I/Itextit"
  133.             "<S<U<B<I/Iitshape"
  134.             "<E<S<B<I/Stextsl"
  135.             "<S<U<B<I/Sslshape"
  136.             "<E<S<B<I/Htextsc"
  137.             "<S<U<B<I/Hscshape"
  138.             "(-"
  139.             "<Smdseries"
  140.             "<Stextmd"
  141.             "<E<S<B<I/Btextbf"
  142.             "<S<U<B<I/Bbfseries"
  143.             "(-"
  144.             "<S<B<I/Rtextrm"
  145.             "<S<U<B<I/Rrmfamily"
  146.             "<E<S<B<I/Wtextsf"
  147.             "<S<U<B<I/Wsffamily"
  148.             "<E<S<B<I/Ytexttt"
  149.             "<S<U<B<I/Yttfamily"
  150.             "(-"
  151.             "<Snormalfont"
  152.             "<Stextnormal"
  153.             }
  154.         }
  155.         
  156.         {menu -M TeX -n {Text Size} -m -p LaTeXMenuItem {
  157.             "<B<I/1tiny"
  158.             "<B<I/2scriptsize"
  159.             "<B<I/3footnotesize"
  160.             "<B<I/4small"
  161.             "<B<I/5normalsize"
  162.             "<B<I/6large"
  163.             "<B<I/7Large"
  164.             "<B<I/8LARGE"
  165.             "<B<I/9huge"
  166.             "<B<I/0Huge"
  167.             }
  168.         }
  169.         
  170.         {menu -M TeX -n International -m -p LaTeXMenuItem {
  171.             {ÿ}
  172.             {ù}
  173.             {Ö}
  174.             {Ü}
  175.             {¢}
  176.             "(-"
  177.             {ì}
  178.             {╧}
  179.             {╛}
  180.             {î}
  181.             {┐}
  182.             "(-"
  183.             {é}
  184.             {╬}
  185.             {«}
  186.             {ü}
  187.             {»}
  188.             "(-"
  189.             {º}
  190.             {┴}
  191.             {└}
  192.             }
  193.         }
  194.         
  195.         {menu -M TeX -n Environments -m -p LaTeXMenuItem {
  196.             "<I/kitemize╔"
  197.             "<U<I/kenumerate╔"
  198.             "<B<I/kdescription╔"
  199.             "thebibliography╔"
  200.             "(-"
  201.             "<I/lslide"
  202.             "<U<I/loverlay"
  203.             "<B<I/lnote"
  204.             "(-"
  205.             "<I/mfigure"
  206.             "<U<I/mtable"
  207.             "<B<I/mtabular╔"
  208.             "(-"
  209.             "<I/nverbatim"
  210.             "<U<I/nquote"
  211.             "<B<I/nquotation"
  212.             "verse"
  213.             "(-"
  214.             "<I/ocenter"
  215.             "<U<I/oflushleft"
  216.             "<B<I/oflushright"
  217.             "(-"
  218.             "<I/pgeneral╔"
  219.             }
  220.         }
  221.         
  222.         {menu -M TeX -n Boxes -m -p LaTeXMenuItem {
  223.             "<B<I/Mmbox"
  224.             "makebox"
  225.             "fbox"
  226.             "framebox"
  227.             "(-"
  228.             "newsavebox"
  229.             "sbox"
  230.             "savebox"
  231.             "usebox"
  232.             "(-"
  233.             "raisebox"
  234.             "(-"
  235.             "parbox"
  236.             "minipage"
  237.             "(-"
  238.             "rule"
  239.             }
  240.         }
  241.         
  242.         {menu -M TeX -n Miscellaneous -m -p LaTeXMenuItem {
  243.             "<B<I/Vverb"
  244.             "<B<I/Ffootnote"
  245.             {<B<I/Nmarginal note}
  246.             "(-"
  247.             "<B<I/Llabel"
  248.             "<B<I/Xref"
  249.             "<B<I/Ppageref"
  250.             "<B<I/Ccite"
  251.             "<U<B<I/Cnocite"
  252.             "(-"
  253.             "<B<I/Jitem"
  254.             "(-"
  255.             "<B<I/'quotes"
  256.             {<U<B<I/'double quotes}
  257.             "(-"
  258.             "!╔ellipsis"
  259.             "!╨en-dash"
  260.             "!╤em-dash"
  261.             {TeX logo}
  262.             {LaTeX logo}
  263.             {LaTeX2e logo}
  264.             "date"
  265.             "(-"
  266.             "!ádag"
  267.             "ddag"
  268.             {!ñsection mark}
  269.             {!ªparagraph mark}
  270.             "!⌐copyright"
  271.             "!úpounds"
  272.             }
  273.         }
  274.     }
  275. }
  276.  
  277. proc mathModeSubmenu {} {
  278.     global TeXmodeVars
  279.     if {$TeXmodeVars(useDollarSigns)} then {
  280.         bind '4' <zc> texMath "TeX"
  281.         bind '4' <zoc> texDisplaymath "TeX"
  282.         return {menu -M TeX -n {Math Modes} -m -p LaTeXMenuItem {
  283.             {<B<O/MTeX math}
  284.             {<B<I<O/MTeX displaymath}
  285.             "(-"
  286.             {LaTeX math}
  287.             {LaTeX displaymath}
  288.             }
  289.         }
  290.     } else {
  291.         bind '4' <zc> latexMath "TeX"
  292.         bind '4' <zoc> latexDisplaymath "TeX"
  293.         return {menu -M TeX -n {Math Modes} -m -p LaTeXMenuItem {
  294.             {TeX math}
  295.             {TeX displaymath}
  296.             "(-"
  297.             {<B<O/MLaTeX math}
  298.             {<B<I<O/MLaTeX displaymath}
  299.             }
  300.         }
  301.     }
  302. }
  303.  
  304. proc getMathModeSubmenu {} {
  305.     return [list [mathModeSubmenu]]
  306. }
  307.  
  308. proc getMathSubmenus {} {
  309.     set mathSubmenus {
  310.         {menu -M TeX -n {Math Style} -m -p LaTeXMenuItem {
  311.             "<B<I<O/Imathit"
  312.             "<B<I<O/Rmathrm"
  313.             "<B<I<O/Bmathbf"
  314.             "<B<I<O/Wmathsf"
  315.             "<B<I<O/Ymathtt"
  316.             "<B<I<O/Cmathcal"
  317.             "(-"
  318.             "<B<I<O/Ddisplaystyle"
  319.             "<B<I<O/Ttextstyle"
  320.             "<B<I<O/Sscriptstyle"
  321.             "scriptscriptstyle"
  322.             }
  323.         }
  324.         
  325.         {menu -M TeX -n {Math Environments} -m -p LaTeXMenuItem {
  326.             "<I/imath"
  327.             "(-"
  328.             "<U<I/idisplaymath"
  329.             "<B<I/iequation"
  330.             "(-"
  331.             "<U<I/jeqnarray*╔"
  332.             "<B<I/jeqnarray╔"
  333.             "(-"
  334.             "<I/jarray╔"
  335.             "(-"
  336.             "<I/pgeneral╔"
  337.             }
  338.         }
  339.         
  340.         {menu -M TeX -n Formulas -m -p LaTeXMenuItem {
  341.             "subscript"
  342.             "superscript"
  343.             "(-"
  344.             "<B<O/Ffrac"
  345.             {<B<O/Rsqrt}
  346.             {nth root}
  347.             "(-"
  348.             {<B<O/1one parameter╔}
  349.             {<B<O/2two parameters╔}
  350.             }
  351.         }
  352.     
  353.         {menu -M TeX -n Greek -m -p LaTeXMenuItem {
  354.             "alpha"
  355.             "beta"
  356.             "<SGamma"
  357.             "<Sgamma"
  358.             "<E<SDelta"
  359.             "<Sdelta"
  360.             "epsilon"
  361.             "zeta"
  362.             "eta"
  363.             "<STheta"
  364.             "<Stheta"
  365.             "iota"
  366.             "kappa"
  367.             "<SLambda"
  368.             "<Slambda"
  369.             "mu"
  370.             "nu"
  371.             "<SXi"
  372.             "<Sxi"
  373.             "omicron"
  374.             "<SPi"
  375.             "<Spi"
  376.             "rho"
  377.             "<SSigma"
  378.             "<Ssigma"
  379.             "tau"
  380.             "<SUpsilon"
  381.             "<Supsilon"
  382.             "<E<SPhi"
  383.             "<Sphi"
  384.             "chi"
  385.             "<SPsi"
  386.             "<Spsi"
  387.             "<E<SOmega"
  388.             "<Somega"
  389.             "(-"
  390.             "varepsilon"
  391.             "vartheta"
  392.             "varpi"
  393.             "varrho"
  394.             "varsigma"
  395.             "varphi"
  396.             }
  397.         }
  398.             
  399.         {menu -M TeX -n {Binary Operators} -m -p LaTeXMenuItem {
  400.             "!▒pm"
  401.             "mp"
  402.             "times"
  403.             "!╓div"
  404.             "ast"
  405.             "star"
  406.             "circ"
  407.             "bullet"
  408.             "cdot"
  409.             "cap"
  410.             "cup"
  411.             "uplus"
  412.             "sqcap"
  413.             "sqcup"
  414.             "vee"
  415.             "wedge"
  416.             "setminus"
  417.             "(-"
  418.             "diamond"
  419.             "bigtriangleup"
  420.             "bigtriangledown"
  421.             "triangleleft"
  422.             "triangleright"
  423.             "lhd"
  424.             "rhd"
  425.             "unlhd"
  426.             "unrhd"
  427.             "(-"
  428.             "oplus"
  429.             "ominus"
  430.             "otimes"
  431.             "oslash"
  432.             "odot"
  433.             "(-"
  434.             "bigcirc"
  435.             "dagger"
  436.             "ddagger"
  437.             "amalg"
  438.             "wr"
  439.             }
  440.         }
  441.         
  442.         {menu -M TeX -n Relations -m -p LaTeXMenuItem {
  443.             "<S!│geq"
  444.             "<S!▓leq"
  445.             "<E<Ssucc"
  446.             "<Sprec"
  447.             "<E<Ssucceq"
  448.             "<Spreceq"
  449.             "<E<S!╚gg"
  450.             "<S!╟ll"
  451.             "<E<Ssupset"
  452.             "<Ssubset"
  453.             "<E<Ssupseteq"
  454.             "<Ssubseteq"
  455.             "<E<Ssqsupset"
  456.             "<Ssqsubset"
  457.             "<E<Ssqsupseteq"
  458.             "<Ssqsubseteq"
  459.             "<E<Sni"
  460.             "<Sin"
  461.             "<E<Sdashv"
  462.             "<Svdash"
  463.             "(-"
  464.             "equiv"
  465.             "sim"
  466.             "simeq"
  467.             "asymp"
  468.             "!┼approx"
  469.             "cong"
  470.             "!¡neq"
  471.             "doteq"
  472.             "propto"
  473.             "(-"
  474.             "models"
  475.             "perp"
  476.             "mid"
  477.             "parallel"
  478.             "bowtie"
  479.             "join"
  480.             "smile"
  481.             "frown"
  482.             }
  483.         }
  484.         
  485.         {menu -M TeX -n Arrows -m -p LaTeXMenuItem {
  486.             "<SLeftarrow"
  487.             "<Sleftarrow"
  488.             "<E<SRightarrow"
  489.             "<Srightarrow"
  490.             "<E<SLeftrightarrow"
  491.             "<Sleftrightarrow"
  492.             "<E<SLongleftarrow"
  493.             "<Slongleftarrow"
  494.             "<E<SLongrightarrow"
  495.             "<Slongrightarrow"
  496.             "<E<SLongleftrightarrow"
  497.             "<Slongleftrightarrow"
  498.             "(-"
  499.             "<SUparrow"
  500.             "<Suparrow"
  501.             "<E<SDownarrow"
  502.             "<Sdownarrow"
  503.             "<E<SUpdownarrow"
  504.             "<Supdownarrow"
  505.             "(-"
  506.             "mapsto"
  507.             "longmapsto"
  508.             "leadsto"
  509.             "(-"
  510.             "leftharpoonup"
  511.             "rightharpoonup"
  512.             "leftharpoondown"
  513.             "rightharpoondown"
  514.             "rightleftharpoons"
  515.             "hookleftarrow"
  516.             "hookrightarrow"
  517.             "nearrow"
  518.             "searrow"
  519.             "swarrow"
  520.             "nwarrow"
  521.             }
  522.         }
  523.         
  524.         {menu -M TeX -n Dots -m -p LaTeXMenuItem {
  525.             "bullet"
  526.             "cdot"
  527.             "(-"
  528.             "ldots"
  529.             "cdots"
  530.             "vdots"
  531.             "ddots"
  532.             }
  533.         }
  534.         
  535.         {menu -M TeX -n Symbols -m -p LaTeXMenuItem {
  536.             "aleph"
  537.             "hbar"
  538.             "imath"
  539.             "jmath"
  540.             "ell"
  541.             "wp"
  542.             "Re"
  543.             "Im"
  544.             "mho"
  545.             "(-"
  546.             "angle"
  547.             "backslash"
  548.             "bot"
  549.             "emptyset"
  550.             "exists"
  551.             "forall"
  552.             "!░infty"
  553.             "nabla"
  554.             "!┬neg"
  555.             "!╢partial"
  556.             "prime"
  557.             "!├surd"
  558.             "top"
  559.             "(-"
  560.             "Box"
  561.             "Diamond"
  562.             "triangle"
  563.             "clubsuit"
  564.             "diamondsuit"
  565.             "heartsuit"
  566.             "spadesuit"
  567.             "(-"
  568.             "flat"
  569.             "natural"
  570.             "sharp"
  571.             }
  572.         }
  573.             
  574.         {menu -M TeX -n Functions -m -p LaTeXMenuItem {
  575.             "arccos"
  576.             "arcsin"
  577.             "arctan"
  578.             "arg"
  579.             "cos"
  580.             "cosh"
  581.             "cot"
  582.             "coth"
  583.             "csc"
  584.             "deg"
  585.             "det"
  586.             "dim"
  587.             "exp"
  588.             "gcd"
  589.             "hom"
  590.             "inf"
  591.             "ker"
  592.             "lg"
  593.             "<B<O/Llim"
  594.             "liminf"
  595.             "limsup"
  596.             "ln"
  597.             "log"
  598.             "max"
  599.             "min"
  600.             "Pr"
  601.             "sec"
  602.             "sin"
  603.             "sinh"
  604.             "sup"
  605.             "tan"
  606.             "tanh"
  607.             "(-"
  608.             "bmod"
  609.             "pmod"
  610.             }
  611.         }
  612.     
  613.         {menu -M TeX -n {Large Operators} -m -p LaTeXMenuItem {
  614.             "<B<O/Ssum"
  615.             "<B<O/Pprod"
  616.             "coprod"
  617.             "<B<O/Iint"
  618.             "oint"
  619.             "(-"
  620.             "bigcup"
  621.             "bigcap"
  622.             "bigsqcup"
  623.             "bigvee"
  624.             "bigwedge"
  625.             "bigodot"
  626.             "bigotimes"
  627.             "bigoplus"
  628.             "biguplus"
  629.             }
  630.         }
  631.         
  632.         {menu -M TeX -n Delimiters -m -p LaTeXMenuItem {
  633.             "parentheses"
  634.             "brackets"
  635.             "braces"
  636.             {vertical bars}
  637.             {other delims╔}
  638.             "(-"
  639.             {half-open interval}
  640.             {half-closed interval}
  641.             "(-"
  642.             {big parentheses}
  643.             {big brackets}
  644.             {big braces}
  645.             {big vertical bars}
  646.             {other big delims╔}
  647.             "(-"
  648.             {big left brace}
  649.             {other mixed big delims╔}
  650.             }
  651.         }
  652.             
  653.         {menu -M TeX -n {Math Accents} -m -p LaTeXMenuItem {
  654.             "<B<O/Aacute"
  655.             "<B<O/Bbar"
  656.             "breve"
  657.             "<B<O/Ccheck"
  658.             "<B<O/Ddot"
  659.             "ddot"
  660.             "<B<O/Ggrave"
  661.             "<B<O/Hhat"
  662.             "<B<O/Ttilde"
  663.             "<B<O/Vvec"
  664.             "(-"
  665.             "widehat"
  666.             "widetilde"
  667.             "(-"
  668.             "imath"
  669.             "jmath"
  670.             }
  671.         }
  672.         
  673.         {menu -M TeX -n Grouping -m -p LaTeXMenuItem {
  674.             "<B<O/Uunderline"
  675.             "<B<O/Ooverline"
  676.             "<B<I<O/Uunderbrace"
  677.             "<B<I<O/Ooverbrace"
  678.             "(-"
  679.             "stackrel"
  680.             }
  681.         }
  682.         
  683.         {menu -M TeX -n Spacing -m -p LaTeXMenuItem {
  684.             {neg thin}
  685.             "thin"
  686.             "medium"
  687.             "thick"
  688.             "(-"
  689.             "quad"
  690.             "qquad"
  691.             "(-"
  692.             "hspace"
  693.             "vspace"
  694.             "(-"
  695.             "hfill"
  696.             "vfill"
  697.             "(-"
  698.             "smallskip"
  699.             "medskip"
  700.             "bigskip"
  701.             }
  702.         }
  703.     }
  704.     return [concat [getMathModeSubmenu] $mathSubmenus]
  705. }
  706.  
  707. proc getTextSubsubmenus {} {
  708.     set m [getTextSubmenus]
  709.     set mm [list menu -M TeX -n {Text Submenus} -m -p LaTeXMenuItem $m]
  710.     return [list $mm]
  711. }
  712.  
  713. proc getMathSubsubmenus {} {
  714.     set m [getMathSubmenus]
  715.     set mm [list menu -M TeX -n {Math Submenus} -m -p LaTeXMenuItem $m]
  716.     return [list $mm]
  717. }
  718.  
  719. proc getLaTeXMenu {} {
  720.     global useShortLaTeXMenu
  721.     set latexCommands [getLaTeXCommands]
  722.     if {$useShortLaTeXMenu} {
  723.         return [concat $latexCommands [getTextSubsubmenus] {{(-}} [getMathSubsubmenus]]
  724.     } else {
  725.         return [concat $latexCommands [getTextSubmenus] {{(-}} [getMathSubmenus]]
  726.     }
  727. }
  728.  
  729. proc buildLaTeXMenu {} {
  730.     global latexMenu useShortLaTeXMenu
  731.     menu -M TeX -n $latexMenu -m -p LaTeXMenuItem [getLaTeXMenu]
  732.     markMenuItem {LaTeX Utilities} {Short LaTeX Menu} $useShortLaTeXMenu
  733. }
  734.  
  735. proc toggleLaTeXMenus {} {
  736.     global latexMenu useShortLaTeXMenu modifiedVars
  737.     watchCursor
  738.     set useShortLaTeXMenu [expr 1 - $useShortLaTeXMenu]
  739.     lappend modifiedVars useShortLaTeXMenu
  740.     buildLaTeXMenu
  741.     markMenuItem {LaTeX Utilities} {Short LaTeX Menu} $useShortLaTeXMenu
  742. }
  743.  
  744. proc LaTeXMenuItem {menu item} {
  745.     switch $item {
  746.         {Typeset}  {set func "typeset"}
  747.         {Typeset Selection}  {set func "typesetSelection"}
  748.         "LaTeX"  {set func "latex"}
  749.         "BibTeX"  {set func "bibtex"}
  750.         "MakeIndex"  {set func "makeindex"}
  751.         {Next Tab Stop}  {set func "nextTabStop"}
  752.         {Prev Tab Stop}  {set func "prevTabStop"}
  753.         {nth Tab Stop}  {set func "nthTabStop"}
  754.         {Next Command}  {set func "nextCommand"}
  755.         {Prev Command}  {set func "prevCommand"}
  756.         {Next Command Select}  {set func "nextCommandSelect"}
  757.         {Prev Command Select}  {set func "prevCommandSelect"}
  758.         {Next Command Select With Args}  {set func "nextCommandSelectWithArgs"}
  759.         {Prev Command Select With Args}  {set func "prevCommandSelectWithArgs"}
  760.         {Next Environment}  {set func "nextEnvironment"}
  761.         {Prev Environment}  {set func "prevEnvironment"}
  762.         {Next Environment Select}  {set func "nextEnvironmentSelect"}
  763.         {Prev Environment Select}  {set func "prevEnvironmentSelect"}
  764.         {Next Section}  {set func "nextSection"}
  765.         {Prev Section}  {set func "prevSection"}
  766.         {Next Section Select}  {set func "nextSectionSelect"}
  767.         {Prev Section Select}  {set func "prevSectionSelect"}
  768.         {Next Subsection}  {set func "nextSubsection"}
  769.         {Prev Subsection}  {set func "prevSubsection"}
  770.         {Next Subsection Select}  {set func "nextSubsectionSelect"}
  771.         {Prev Subsection Select}  {set func "prevSubsectionSelect"}
  772.         {Choose Command}  {set func "chooseCommand LaTeX"}
  773.         {Insert Literal Tab}  {set func "insertLiteralTab"}
  774.         {Insert Tab Stop}  {set func "insertTabStop"}
  775.         {Insert Reference}  {set func "insertReference"}
  776.         {Delete Tab Stops}  {set func "deleteTabStops"}
  777.         {Delete Comments}  {set func "deleteComments"}
  778.         {Convert Quotes}  {set func "convertQuotes"}
  779.         {Convert Dollar Signs}  {set func "convertDollarSigns"}
  780.         {Remove Auxiliary Files}  {set func "removeAuxiliaryFiles"}
  781.         {Short LaTeX Menu}  {set func "toggleLaTeXMenus"}
  782.         "array"  {set func "myArray"}
  783.         "eqnarray\*"  {set func "eqnarrayStar"}
  784.         "ellipsis"  {set func "ldots"}
  785.         {TeX logo}  {set func "texLogo"}
  786.         {LaTeX logo}  {set func "latexLogo"}
  787.         {LaTeX2e logo}  {set func "latex2eLogo"}
  788.         "date" {set func "today"}
  789.         {section mark}  {set func "sectionMark"}
  790.         {paragraph mark}  {set func "paragraphMark"}
  791.         {double quotes}  {set func "dblQuotes"}
  792.         {marginal note}  {set func "marginalNote"}
  793.         "item" {set func "insertItem"}
  794.         {TeX math}  {set func "texMath"}
  795.         {TeX displaymath}  {set func "texDisplaymath"}
  796.         {LaTeX math}  {set func "latexMath"}
  797.         {LaTeX displaymath}  {set func "latexDisplaymath"}
  798.         {blackboard bold}  {set func "blackboardBold"}
  799.         {frac}  {set func "fraction"}
  800.         {sqrt}  {set func "squareRoot"}
  801.         {nth root}  {set func "nthRoot"}
  802.         {one parameter}  {set func "oneParameter"}
  803.         {two parameters}  {set func "twoParameters"}
  804.         {join}  {set func "myJoin"}
  805.         {vertical bars}  {set func "absoluteValue"}
  806.         {other delims}  {set func "otherDelims"}
  807.         {half-open interval}  {set func "half-openInterval"}
  808.         {half-closed interval}  {set func "half-closedInterval"}
  809.         {big parentheses}  {set func "bigParentheses"}
  810.         {big brackets}  {set func "bigBrackets"}
  811.         {big braces}  {set func "bigBraces"}
  812.         {big vertical bars}  {set func "bigAbsoluteValue"}
  813.         {other big delims}  {set func "otherBigDelims"}
  814.         {big left brace}  {set func "bigLeftBrace"}
  815.         {other mixed big delims}  {set func "otherMixedBigDelims"}
  816.         {neg thin}  {set func "negThin"}
  817.         default {set func $item}
  818.     }
  819.     eval $func
  820. }
  821.